<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title>View All Site_resource</title>
		<link rel="Stylesheet" href="${rootContext}/includes/${judo_style_css_document}" type="text/css" />
	</head>
	<body>		
		<div id="page">
			<div id="header">
				<jsp:include page="/header.jsp" flush="false"/>
			</div>
			<div id="navcontainer">
				${judo_menu}
			</div>
			<div id="content">
							<h3>View All Defined Pages</h3>
			<br>
			<a href="${rootContext}/admin/Site_resource_controller/create_site_resource.do">Create Page Definition</a><br>
			<br>
		<table class="standardTBL">
			<tr class="standardTBLHeader">
				<td width="*">Page Id</td>
				<td width="*">Url</td>
				<td width="*">Actions</td>
			</tr>
			<c:forEach var="cur" items="${results}">
			<tr>
				<td><a href="${rootContext}/admin/Site_resource_controller/detail_site_resource.do?id=${cur.siteresourceid}">${cur.siteresourceid}</a></td>
				<td>${cur.url}</td>
				<td><a href="${rootContext}/admin/Site_resource_controller/edit_site_resource.do?id=${cur.siteresourceid}"><img src="${rootContext}/images/icon_edit.png" border=0 alt="Edit"></a> <a href="${rootContext}/admin/Site_resource_controller/delete_site_resource.do?id=${cur.siteresourceid}"><img src="${rootContext}/images/icon_delete.png" border=0 alt="Delete"></a></td>
			</tr>
			</c:forEach>
		</table>

			</div>
		</div>
	</body>
</html>
